package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.admin.dtos.SensitiveDTO;

import java.util.List;

public interface AdSensitiveService extends IService<AdSensitive> {

    ResponseResult del(Integer id);


    ResponseResult list(SensitiveDTO dto);


    ResponseResult into(AdSensitive adSensitive);


    ResponseResult updata(AdSensitive adSensitive);


    /**
     * 查询敏感词内容列表
     * @return
     */
    public ResponseResult<List<String>> selectAllSensitives();


}
